package service.ManageService._stub;

import VO.MemberShipVO;
import service.ManageService.MemberShipService;
import util.Message;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * 
 * @author insomnia
 *
 */
public class MemberShipService_stub extends UnicastRemoteObject implements MemberShipService{

	private static final long serialVersionUID = 566333153723842246L;

	public MemberShipService_stub() throws RemoteException {
		super();
	}

	/**
	 * 得到会员制度表
	 * @return会员制度表
	 */
	public MemberShipVO getMemberShip()throws RemoteException{
		int b[]={2,3};
		return new MemberShipVO(2,b);
	}
/**
 * change membership
 * @param MemberShip
 * @return the result of the change 
 */
	public Message ChangeMemberShip(MemberShipVO MemberShip)throws RemoteException{
		return Message.SUCCESS;
	}

}
